import { request } from "../request"
// 获取列表
export const carBrandList = (data) => {
  return request({
    url: 'carBrand/carBrandList',
    method: 'POST',
    data
  })
}
// 删除车型
export const carBrandDelete = (data) => {
  return request({
    url: 'carBrand/carBrandDelete',
    method: 'POST',
    data
  })
}
// 添加车型
export const carBrandAdd = (data) => {
  return request({
    url: 'carBrand/carBrandAdd',
    method: 'POST',
    data
  })
}
// 修改车型
export const carBrandChange = (data) => {
  return request({
    url: 'carBrand/carBrandChange',
    method: 'POST',
    data
  })
}
// 搜索
export const carBrandSerach = (data) => {
  return request({
    url: 'carBrand/carBrandSerach',
    method: 'POST',
    data
  })
}
// 导出信息

export const carBrandCreateExcel = (data) => {
  return request({
    url: 'carBrand/carBrandCreateExcel',
    method: 'POST',
    data,
    responseType: "blob",
  })
}
// 车型排序
export const carBrandSort = (data) => {
  return request({
    url: 'carBrand/carBrandSort',
    method: 'POST',
    data,
  })
}
// 获取膜列表
export const filmList = (data) => {
  return request({
    url: 'carBrand/filmList',
    method: 'POST',
    data,
  })
}
// 获取所有膜列表
export const filmListSelect = (data) => {
  return request({
    url: 'carBrand/filmListSelect',
    method: 'POST',
    data,
  })
}

// 添加膜列表
export const filmListAdd = (data) => {
  return request({
    url: 'carBrand/filmListAdd',
    method: 'POST',
    data,
  })
}// 删除
export const filmListDelete = (data) => {
  return request({
    url: 'carBrand/filmListDelete',
    method: 'POST',
    data,
  })
}
// 修改
export const filmListChange = (data) => {
  return request({
    url: 'carBrand/filmListChange',
    method: 'POST',
    data,
  })
}
// 导出膜的信息
export const filmCreateExcel = (data) => {
  return request({
    url: 'carBrand/filmCreateExcel',
    method: 'POST',
    data,
    responseType: "blob",
  })
}
// 根据条件筛选膜表格发货用
export const filmListSelectExcel = (data) => {
  return request({
    url: 'carBrand/filmListSelectExcel',
    method: 'POST',
    data,
  })
}
// 搜索
export const filmSerach = (data) => {
  return request({
    url: 'carBrand/filmSerach',
    method: 'POST',
    data,
  })
}


